package com.mf.service.basic.webPage;
import com.mf.entity.dto.basic.webPage.DtoWebMenu;
    
import com.mf.entity.req.basic.search.webPage.SearchReqWebMenu;
import com.mf.service.BaseService;

import java.util.List;


/**
 * 权限表
 *
 *
 */
public interface ServiceWebMenu extends BaseService<DtoWebMenu, SearchReqWebMenu> {
    /**
     * 根据id查询子节点数量
     */
    long countByPid(Integer id);

    /**
     * 根据权限查询显示菜单
     */
    List<DtoWebMenu> listTreeByPermission(List<String> permissions);
}

